module CommentsHelper
  def link_to_comment(comment)
    
  end

  def small_avatar_url(email)
    gravatar_id = Digest::MD5::hexdigest(email).downcase
    "http://gravatar.com/avatar/#{gravatar_id}.png?s=24"
  end

  def show_debate(model)
    render :partial => "comments/show", :locals => {:model => model}
  end

  def debate_form(model)
    render :partial => "comments/form", :locals => {:model => model}
  end
end
